# -*- conding:UTF-8 -*-

'''
@ Project: finance
@ File: urls.py
@ Author: 韩成瑾
@ Date：2022/10/24 11:33

'''

from django.urls import path
from myapp import views

urlpatterns = [
    # 交易所
    path('exchange',views.ExchangeView.as_view()),
    path('exchange/<int:pk>',views.ExchangeOne.as_view()),
    # 币
    path('virtualcoin',views.VirtualCoinView.as_view()),
    path('virtualcoin/<int:pk>',views.OneIcon.as_view()),
    # 交易对现价
    path('trading',views.TradingView.as_view()),
    path('trading/<int:pk>',views.OneTrading.as_view()),
    # 币历史数据
    path('hister',views.HistoryView.as_view()),
    path('hister/<int:pk>',views.OneHistory.as_view()),
    # K线 m1
    path('klinemone',views.KlineView.as_view()),
    path('klinemone/<int:pk>',views.OneKline.as_view()),
    # k线 M15
    path('klinemfifteen',views.KlinefifteenView.as_view()),
    path('klinemfifteen/<int:pk>',views.OneKlinefifteen.as_view()),
]



